package cn.com.jit.hl.demo.pattern.factory.method;

import cn.com.jit.hl.demo.pattern.factory.simple.Apple;
import cn.com.jit.hl.demo.pattern.factory.simple.Fruit;

public class AppleFactory implements FruitFactory {
    @Override
    public Fruit createFruit() {
        return new Apple();
    }
}
